package jsu.lipengcheng.trafficnet.service;

import jsu.lipengcheng.trafficnet.pojo.News;

import java.util.List;

public interface NewsService {
    News selectbyid(int id);

    List<News> selectall();

    void addnews(News news);

    void deletenews(List<Integer> ids);

    void updatanews(News news);

    int selectsum();
}
